MOD_NAME= recmgr_test
OBJ_FILES = recmgr_test.o
LD_FLAGS = -lbuffer_mgr -lrecord_mgr
OUTPUT_FILE = $(MOD_NAME)

CXX = g++ 
INCLUDES = -I ../../include -I .
CXXFLAGS = $(INCLUDES) $(DEBUG)  -Wall
TARGET_DIR = ../../bin

$(TARGET_DIR)/$(OUTPUT_FILE) : $(OBJ_FILES)
	$(CXX) -o $(TARGET_DIR)/$(OUTPUT_FILE) $(OBJ_FILES) $(LD_FLAGS) -L $(TARGET_DIR)

.PHONY : clean

debug: export DEBUG=-g -DDEBUG
debug: $(TARGET_DIR)/$(OUTPUT_FILE)

clean :
	rm -f *.o $(TARGET_DIR)/$(OUTPUT_FILE)	
	